package com.zhang.crm.mapper;

import com.zhang.crm.pojo.TTran;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TTranmapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TTran record);

    int insertSelective(TTran record);

    TTran selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TTran record);

    int updateByPrimaryKey(TTran record);

    List<TTran> selectTranList();

    TTran selectTranDetail(Integer tranId);
}